Client
Main class.
class yandex_b2b_go.client.Client(
token: str,
timeout: Optional[float] = None,
log_level: int = logging.INFO,
log_request: bool = False,
log_response: bool = False
)
Parameters
token— OAuth token. See how to get a token here.timeout— wait time in seconds.log_level— log level.log_request— log request parameters and body.log_response— log the response body.
Was the article helpful?
Previous
Next